package com.sc.VenusQueryBeta.contract.home.tabs;

import com.sc.VenusQueryBeta.model.bean.home.OrderServiceBean;

/**
 * Created by SC-02 on 2018/9/19.
 *预定服务契约
 */

public interface YuDingContract {
    abstract class YuDingPresenter extends BaseTabsContract.BaseTabsPresenter<IYuDingModel,
            IYuDingView, Object>{
    public abstract void getOrderServiceData();
    }

    interface IYuDingModel extends BaseTabsContract.IBaseTabsModel {
        io.reactivex.Observable<OrderServiceBean> getorderService();
    }

    interface IYuDingView extends BaseTabsContract.IBaseTabsView<Object> {
        /**
         * 显示banner数据
         * @param  orderServiceBean'
         */
        void showOrderServiceDataSuccess(OrderServiceBean orderServiceBean);

        /**
         * 显示网络错误
         */
        void showNetworkError();
    }
}
